import type { ScrapModel } from './models';

import { requestClient } from '#/api/request';

/**
 * 分页查询产品报废数据集合
 * @param params 分页查询参数
 * @returns 返回查询结果
 */
export async function getScrapPagedListApi(params?: PageParams) {
  return requestClient.get<PaginationResult<ScrapModel>>(
    '/mes/quality/scrap/list-page',
    {
      params,
    },
  );
}
